package mc.contents.dao;
import mc.contents.pojo.persistence.ShopInfo;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/**
 * Created with IntelliJ IDEA. <br/>
 * Author: Francis Yun    <br/>
 * Date: 2014-03-26  <br/>
 */
public interface ShopInfoMapper {

    public List<ShopInfo> getAllShopList();

    public List<ShopInfo> getAllShopUrlList();

    public ShopInfo getSidByNick( String nick );

    public ShopInfo getShopInfoByNick( String nick );

    public void saveShopUrl( @Param( "shopInfo" )ShopInfo shopInfo );

    public void updateShopInfo( ShopInfo shopInfo );

    void updateShopUrl( @Param( "shopInfo" )ShopInfo shopInfo );

    void saveShop4C( @Param( "shopInfo" )ShopInfo shopInfo );

    void updateShop4C( @Param( "nick" )String nick,@Param( "shop4C" )String shop4C );

    void updateDsr(ShopInfo shopInfo);
}
